package com.designpatterns.command.invoker;

import com.designpatterns.command.command.Command;

/**
 * Invoker Class
 * 
 * @author Haiqi.Wang
 * @since 2013-6-9下午1:24:20
 */
public class Invoker {
	private Command command;

	public void setCommand(Command command) {
		this.command = command;
	}

	/**
	 * execute Method
	 */
	public void execute() {
		command.execute();
	}

}
